package my.edu.model.bills.bound.service;

import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.model.bills.bound.entity.OtherOutboundOrder;
import my.edu.model.bills.bound.entity.OtherOutboundOrderDetail;
import my.edu.model.bills.bound.entity.dto.OutboundDetailDTO;

import java.util.List;

public interface IOtherOutboundOrderDetailService extends IService<OtherOutboundOrderDetail> {
    void saveByDTO(List<OutboundDetailDTO> outboundDetailDTOS, OtherOutboundOrder otherOutboundOrder);

    void updateByDTO(List<OutboundDetailDTO> outboundDetailDTOS, OtherOutboundOrder byId);

    void removeByOrderId(List<Long> longs);

    void subStockByOrderId(List<Long> longs);

    void addStockByOrderId(List<Long> longs);
}
